package collection

import (
	"github.com/gin-gonic/gin"
	"ppa/controller/collection"
	"ppa/controller/nft"
)

func Routers(e *gin.Engine) {
	collectionGroup := e.Group("/collection")
	{
		collectionGroup.GET("/info", collection.GetCollectionInfo)
		collectionGroup.GET("/list", collection.GetCollectionList)
		collectionGroup.GET("/list/condition", collection.GetCollectionListByWhere)
		collectionGroup.POST("/info", collection.SetCollectionInfo)
		collectionGroup.GET("/nft/list", nft.GetNftListByWhere)
	}

}